<div class="pet-item">
    <a href="/pet/view/{$data->pet_id}">
        {assign var="avatarSrc" value=UploadImageFacade::resolveImagePath($data->avatar_id, "84x123")}
        <img src="{$avatarSrc}" alt="" width="84" height="123" />
    </a>
    <a href="/pet/view/{$data->pet_id}" class="pet-name">{$data->nickname}</a>
    <a href="/pet/view/{$data->pet_id}" class="pet-race">{$data->type}</a>
    <a href="/pet/view/{$data->pet_id}" class="pet-race">{$data->race}</a>
    {if $isAuthor}
    <a href="/pet/update/{$data->pet_id}" class="edit-link">редактировать</a>
    {/if}
</div>